Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README (add support for busybox and debian) #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update README (add support for busybox and debian) #109

wants to merge 1 commit into from

Conversation

pschaub
Copy link

@pschaub pschaub commented Apr 4, 2018

No description provided.

@MrOggy85
Copy link

MrOggy85 commented Sep 9, 2018

I would suggest to add this to the Alpine Linux section:

RUN apk update && \
  apk add ca-certificates wget && \
  update-ca-certificates && \
  apk add --no-cache openssl

since I needed this to be able to get the source when using the node alpine linux docker image (version 8.11.4-alpine). I cannot say if it's a general thing though...
Reference discussion: Yelp/dumb-init#73

@powerman
Copy link
Contributor

This is fixed in fork https://github.com/powerman/dockerize: all you need is to install curl in alpine/debian/ubuntu and use wget -O - instead of curl in busybox.

$ docker run -i -t --rm alpine
/ # apk add curl && curl -sfL https://github.com/powerman/dockerize/releases/download/v0.9.1/dockerize-`uname -s`-`uname -m` | install /dev/stdin /usr/local/bin/dockerize && dockerize -version
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/5) Installing ca-certificates (20171114-r3)
(2/5) Installing nghttp2-libs (1.32.0-r0)
(3/5) Installing libssh2 (1.8.0-r3)
(4/5) Installing libcurl (7.61.1-r1)
(5/5) Installing curl (7.61.1-r1)
Executing busybox-1.28.4-r1.trigger
Executing ca-certificates-20171114-r3.trigger
OK: 6 MiB in 18 packages
dockerize v0.9.1 go1.11.2

$ docker run -i -t --rm debian
root@9f45fd80bef6:/# apt update && apt install -y curl && curl -sfL https://github.com/powerman/dockerize/releases/download/v0.9.1/dockerize-`uname -s`-`uname -m` | install /dev/stdin /usr/local/bin/dockerize && dockerize -version
...
Setting up curl (7.52.1-5+deb9u8) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for ca-certificates (20161130+nmu1+deb9u1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
dockerize v0.9.1 go1.11.2

$ docker run -i -t --rm ubuntu
root@e2627c7b841d:/# apt update && apt install -y curl && curl -sfL https://github.com/powerman/dockerize/releases/download/v0.9.1/dockerize-`uname -s`-`uname -m` | install /dev/stdin /usr/local/bin/dockerize && dockerize -version
...
Setting up curl (7.58.0-2ubuntu3.5) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for ca-certificates (20180409) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
dockerize v0.9.1 go1.11.2

$ docker run -i -t --rm busybox
/ # wget -O - https://github.com/powerman/dockerize/releases/download/v0.9.1/dockerize-`uname -s`-`u
name -m` | install /dev/stdin /bin/dockerize && dockerize -version
Connecting to github.com (192.30.253.113:443)
wget: note: TLS certificate validation not implemented
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.176.139:443)
wget: note: TLS certificate validation not implemented
-                    100% |****************************************************| 9371k  0:00:00 ETA
dockerize v0.9.1 go1.11.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants